package com.sxkf.template.vo.response;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 帖子评论
 * </p>
 *
 * @author 杨玉龙
 * @since 2024-08-20 11:48:57
 */
@Data
@ApiModel(value = "PostComment对象", description = "帖子评论")
public class PostCommentVo implements Serializable {

    private static final long serialVersionUID = 1L;


    private String id;

    @ApiModelProperty("帖子id")
    private String postId;

    @ApiModelProperty("帖子图片")
    private String postPicture;

    @ApiModelProperty("用户id")
    private String userId;

//    @ApiModelProperty("用户昵称")
//    private String userNickName;
//
//    @ApiModelProperty("用户头像")
//    private String userAvater;

    @ApiModelProperty("评论内容")
    private String content;

//    @ApiModelProperty(value = "评论父id",notes = "顶级评论为0")
//    @TableField("pid")
//    private String pid;
//
//    @ApiModelProperty(value = "顶级id",notes = "顶级评论为0")
//    @TableField("top_id")
//    private String topId;
//
//    @ApiModelProperty("是否删除")
//    @TableField("is_delete")
//    @TableLogic
//    private String isDelete;
//
//    @ApiModelProperty("创建时间")
//      @TableField(value = "create_time", fill = FieldFill.INSERT)
//    private Date createTime;
//
//    @ApiModelProperty(value = "子评论")
//    @TableField(exist = false)
//    private List<PostCommentVo> childComment;
//
//    @TableField(exist = false)
//    private Long childCount;
//
//    @TableField(exist = false)
//    private String note;
}
